/* 
 * File:   Title.cpp
 * Author: yanex
 */

#include "Title.h"

Title::Title() : name(""), length(0), type(0), time(25) {}

Title::Title(string name, double length, double time, int type) {
    this->name=name;
    this->length=length;
    this->type=type;
    this->time=time;
}

string Title::getName() {
    return name;
}

double Title::getTime() {
    return time;
}

double Title::getLength() {
    return length;
}

int Title::getType() {
    return type;
}

void Title::setName(string name) {
    this->name=name;
}

void Title::setTime(double time) {
    this->time=time;
}

void Title::setLength(double length) {
    this->length=length;
}

void Title::setType(int type) {
    this->type=type;
}